/**
 * Project Name:cnsy-url-short-service
 * File Name:Select2Result.java
 * Package Name:cn.cnsy123.shorturls.api.controller.result 
 * Date: 2020年4月22日-下午2:24:51
 * Copyright (c) 2020, yangpengfei@360@126.com All Rights Reserved. 
 *
 */

package cn.cnsy123.shorturls.api.controller.result;

import java.io.Serializable;

/**
 * ClassName: Select2Result
 * 
 * @author yangpengfei
 * @date 2020年4月22日-下午2:24:51
 * @version 1.0
 * @since JDK 1.7
 */
public class Select2Result implements Serializable {
    
    /**
     * serialVersionUID:TODO(用一句话描述这个变量表示什么). 
     * @since JDK 1.7
     */
    private static final long serialVersionUID = -532784926429115901L;

    private Long id;
    
    private String text;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getText() {
        return text;
    }

    public void setText(String text) {
        this.text = text;
    }

    public Select2Result() {
        super();
    }

    public Select2Result(Long id, String text) {
        super();
        this.id = id;
        this.text = text;
    }

    @Override
    public String toString() {
        StringBuilder builder = new StringBuilder();
        builder.append("Select2Result [id=").append(id).append(", text=").append(text).append("]");
        return builder.toString();
    }
    
    
    
}
